<template>
  <div>
    <!-- 头部 -->
    <van-nav-bar title="确认订单" left-arrow class="nav" />
    <div class="decorate"></div>
    <div class="item">
      <!-- <i class="iconfont icon-dibiao-copy-copy font"></i> -->
      <van-icon name="location-o" class="font"/>
      <div>
        <div class="addressee">
          <span style="color:#58595a;">胡儒清</span>
          <span>15013795539</span>
        </div>
        <div class="address-detail">广东省深圳市龙岗区龙岗大道3116号左创智慧创新大厦508</div>
      </div>
      <!-- <i class="iconfont icon-jiantou arrow"></i> -->
      <van-icon name="arrow" class="arrow"/>
    </div>
    <div class="blank"></div>
    <div class="group">
      <div class="product">
        <div class="product-express">
          <span>运费15元(满68元免运费)</span>
        </div>
      </div>
      <div class="product-item">
        <div class="product-photo">
          <img src="https://mall.s.maizuo.com/3484d2c4a5b30f1e7c6282096a2816b9.png" alt />
        </div>
        <div class="product-info">
          <div class="product-name">A级-阳光冬枣（中）约2.6-3斤</div>
          <div class="product-num">×1</div>
          <div class="product-attribute">单果重约12-16g</div>
          <div class="product-price">
            <small class="icon-yen">¥</small>
            30
          </div>
        </div>
      </div>
    </div>
    <div class="products">
      <div class="price-item">
        <span class="price-red-font">商品金额</span>
        <span class="money-unit">¥30.00</span>
      </div>
      <div class="price-item">
        <span class="price-red-font">运费</span>
        <span class="money-unit">¥30.00</span>
      </div>
    </div>
    <div class="blank"></div>
    <div class="listAll">
      <div class="coupons">
        <div class="coupon-one">
          <img
            src=""
            alt
          />
          <span style="margin-left: 8px;">现金券</span>
        </div>
        <div class="coupon-two">
          <span>0张劵可用</span>
          <!-- <i class="iconfont icon-jiantou icon"></i> -->
          <van-icon name="arrow" class="icon"/>
        </div>
      </div>
    </div>
    <div class="listAll">
      <div class="coupons">
        <div class="coupon-one">
          <!-- <img
            src=""
            alt
          /> -->
          <van-icon name="gift-card-o" style="font-size:25px;"/>
          <span style="margin-left: 8px;">苏打券</span>
        </div>
        <div class="coupon-two">
          <span>0张劵可用</span>
          <!-- <i class="iconfont icon-jiantou icon"></i> -->
          <van-icon name="arrow" class="icon"/>
        </div>
      </div>
    </div>
    <div class="listAll">
      <div class="coupons">
        <div class="coupon-one">
          <img
            src=""
            style="width: 20px;height: 20px;"
            alt
          />
          <span style="margin-left: 8px;">余额（</span>
          <span style="font-size: 13px;color: #c03131;">¥0.00</span>
          <span>）</span>
        </div>
        <div class="coupon-two">
          <img
            src=""
            alt
          />
        </div>
      </div>
    </div>
    <div class="list-coupons">
      <div class="coupons">
        <div class="coupon-one">
          <!-- <i class="iconfont icon-fapiao"></i> -->
          <van-icon name="balance-pay" style="font-size:25px;"/>

          <span style="margin-left: 8px;">发票</span>
        </div>
        <div class="coupon-two">
          <span>不开发票</span>
          <!-- <i class="iconfont icon-jiantou icon"></i> -->
          <van-icon name="arrow" class="icon"/>
        </div>
      </div>
    </div>
    <div class="blank"></div>

    <van-cell-group>
      <van-field type="textarea" placeholder="留言(选填)" rows="1" autosize />
    </van-cell-group>
    <div style="background: #f4f4f4; height: 65px;"></div>
    <van-submit-bar :price="4500" button-text="提交订单"  @click.native="goto"/>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },methods: {
    goto(){
      this.$router.push("/order/submitOrder")
    }
  },
};
</script>
<style scoped>
.nav {
  color: #3a3b3c;
}
.decorate {
  background: #fff
    url();
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  height: 3px;
}
.item {
  position: relative;
  padding: 17px;
  padding-left: 0;
  padding-right: 28px;
  min-height: 75px;
  height: 100px;
  display: flex;
  margin-left: 6px;
  color: #909397;
  font-size: 15px;
  box-sizing: border-box;
}
.font {
  font-size: 30px;
  color: rgb(189, 193, 197);
  /* vertical-align: middle; */
  /* font-family: iconfont !important; */
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 50px;
}
.address-detail {
  font-size: 13px;
}
.arrow {
  font-size: 15px;
  vertical-align: middle;
  position: absolute;
  top: 38%;
  right: 10px;
  /* font-family: iconfont !important; */
  /* font-style: normal; */
  /* -webkit-font-smoothing: antialiased; */
}
.blank {
  background: #f4f4f4;
  height: 10px;
}

.product-photo img {
  background-color: #f8f8f8;
  height: 22.7vw;
  width: 22.7vw;
}
.product-express {
  font-size: 13px;
  padding: 15px 10px 0 15px;
  color: #797d82;
}
.product-item {
  position: relative;
  display: flex;
  align-items: center;
  -webkit-box-align: center;
  align-items: center;
  margin-left: 15px;
  height: 120px;
}
.product-info {
  padding: 15px 15px 15px 0;
  margin-left: 10px;
  height: 90px;
  /* text-overflow: ellipsis;
    white-space: nowrap; */
  overflow: hidden;
}
.group {
  box-sizing: border-box;
}
.product-name {
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.product-attribute {
  font-size: 13px;
  color: #797d82;
}
.product-price {
  font-size: 15px;
  color: #c03131;
  position: absolute;
  bottom: 15px;
}
.product-num {
  font-size: 12px;
  color: #bdc0c5;
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.products {
  /* height: 44px; */
  font-size: 13px;
  padding: 12px 15px;
  box-sizing: border-box;
}
.price-item {
  display: flex;
  justify-content: space-between;
  color: #797d82;
  margin-bottom: 6px;
}
.money-unit {
  color: #c03131;
}
.coupons {
  font-size: 15px;
  background-color: #fff;
  height: 50px;
  line-height: 50px;
  display: flex;
  justify-content: space-between;
}
.coupon-one {
  font-size: 15px;
  height: 50px;
  display: flex;
  align-items: center;
}
.coupon-one img {
  width: 20px;
  height: 28px;
  margin: 0px 3px;
}
.coupon-two {
  margin-right: 10px;
  font-size: 14px;
  color: #191a1b;
  font-size: 14px;
  display: flex;
  align-items: center;
  line-height: 50px;
}
.icon {
  color: hsla(213, 4%, 49%, 0.5);
  font-size: 15px;
  /* margin-top:12px; */
}
.coupons::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid #ededed;
  color: red;
  transform-origin: 0 100%;
  transform: scaleY(0.5);
}
.listAll {
  position: relative;
  margin-left: 15px;
}
.coupon-two img {
  width: 17px;
  height: 17px;
  margin-left: 15px;
  margin-top: 15px;
}
.list-coupons {
  margin-left: 15px;
}
.coupon-one i {
  color: red;
}

</style>
